@import "../../product/product-dispatch-order/product-dispatch-list/product-dispatch-list.component.scss";

// 销售台账美化样式（不影响其他页面）
.da-list-wrap {
  .procduct-job {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .order-row .job {
    background: #fafafa;
    border-radius: 4px;
  }

  .order-row {
    position: relative;
    cursor: pointer;
  }

  .order-row .op-cell {
    position: relative;
  }

  .order-row .op-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #5e7ce0;
  }

  .icon {
    margin-top: 2px;

    .icon-chevron-right {
      display: inline-block;
      font-size: 18px;
      color: #5e7ce0;
      transition: transform .18s cubic-bezier(.2, .8, .2, 1), color .18s ease;

      &.rotated {
        transform: rotate(90deg);
      }
    }
  }

  .product-job-r {
    flex: 1;
  }

  .jobNum {
    font-weight: 600;
    margin-bottom: 6px;
  }

  .brief {
    margin: 2px 0;
  }

  .brief .col {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .font-w {
    color: #6a6a6a;
  }

  .status-text {
    margin-left: 6px;
  }

  .payment-row td {
    background: #fff;
  }

  // 行类型标识
  .row-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    vertical-align: middle;
  }

  .type-order {
    background: #5e7ce0;
  }

  .type-payment {
    background: #22c55e;
  }

  .ml8 {
    margin-left: 8px;
  }

  .payment-brief {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .payment-brief .item label {
    color: #6a6a6a;
    margin-right: 4px;
  }

  .summary-row td {
    background: #f6f7fb;
    font-weight: 600;
    border-top: 1px solid #e5e5e5;
  }

  .summary-row.completed td {
    background: #effaf2;
    color: #1f7a39;
  }

  // 操作图标单元格
  .op-cell {
    width: 56px;
    text-align: center;
    background: #fafafa;
    user-select: none;
  }

  .op-cell .chevron {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .op-cell .chevron:hover {
    background: #f2f2f2;
  }


}
